home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HyperLib 1997 Winter - Disc 1
/
HYPERLIB-1997-Winter-CD1.ISO.7z
/
HYPERLIB-1997-Winter-CD1.ISO
/
オンラインウェア
/
PRG
/
ICProgKit 1.3.sit
/
ICProgKit1.3
/
APIs
/
ICTypes.p
< prev
next >
Wrap
Text File
|
1996-07-14
|
2KB
|
76 lines
unit ICTypes;
(* ・・・Start Header・・・ *)
(* File: ICTypes.p
* Generated by: 1.0d4
* For: IC 1.3
* On: Sunday, 14 July 1996, 20:19:55
*
* This file is part of the Internet Configuration system and
* is placed in the public domain for the benefit of all.
*)
(* ・・・End Header・・・ *)
interface
{$ifc undefined THINK_Pascal}
uses
Types;
{$endc}
{$PUSH}
{$ALIGN MAC68K}
const
icPrefNotFoundErr = -666; (* preference not found (duh!) *)
icPermErr = -667; (* cannot set preference *)
icPrefDataErr = -668; (* problem with preference data *)
icInternalErr = -669; (* hmm, this is not good *)
icTruncatedErr = -670; (* more data was present than was returned *)
icNoMoreWritersErr = -671; (* you cannot begin a write session because someone else is already doing it *)
icNothingToOverrideErr = -672; (* no component for the override component to capture *)
icNoURLErr = -673; (* no URL found *)
icConfigNotFoundErr = -674; (* no configuration was found *)
icConfigInappropriateErr = -675; (* incorrect manufacturer code *)
const
ICattr_no_change = -1; (* supply this to ICSetPref to tell it not to change the attributes *)
ICattr_locked_bit = 0; (* bits in the preference attributes *)
ICattr_locked_mask = $00000001; (* masks for the above *)
ICattr_volatile_bit = 1;
ICattr_volatile_mask = $00000002;
icNoUserInteraction_bit = 0;
icNoUserInteraction_mask = $00000001;
ICfiletype = 'ICAp';
ICcreator = 'ICAp';
ICdefault_file_name = 'Internet Preferences'; (* default file name, for internal use, overridden by a component resource *)
type
ICDirSpec = record (* a record that specifies a folder *)
vRefNum: integer;
dirID: longint;
end;
ICDirSpecArray = array[0..3] of ICDirSpec; (* an array of the above *)
ICDirSpecArrayPtr = ^ICDirSpecArray; (* a pointer to that array *)
ICAttr = longint; (* type for preference attributes *)
ICError = longint; (* type for error codes *)
ICInstance = Ptr; (* opaque type for preference reference *)
ICPerm = (icNoPerm, icReadOnlyPerm, icReadWritePerm);
ICConfigRef = record
manufacturer: OSType;
(* other private data follows *)
end;
ICConfigRefPtr = ^ICConfigRef;
ICConfigRefHandle = ^ICConfigRefPtr;
{$ALIGN RESET}
{$POP}
implementation
end. (* ICTypes *)